package org.jeecg.modules.app.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.app.enums.AppPlatformTypeEnums;
import org.jeecg.modules.app.entity.AppUpgrade;
import org.jeecg.modules.app.vo.UpgradeVO;

/**
 * @Description: 更新管理
 * @Author: sean
 * @Date:   2024-09-28
 * @Version: V1.0
 */
public interface IAppUpgradeService extends IService<AppUpgrade> {

    IPage<AppUpgrade> selectJoinPage(Page page, Wrapper wrapper);

    UpgradeVO androidUpgradeNew(String appid, Integer version);

    UpgradeVO iosUpgradeNew(String appid, Integer version);

    UpgradeVO newUpgradeInfo(String appid, Integer version, AppPlatformTypeEnums appPlatformType);
}
